package com.foreknow.service;

import com.foreknow.bean.Admin;

public interface AdminService {
    /**
     * 验证是否登录
     * @param username
     * @param password
     * @return
     */
    public Admin isValidate(String username,String password);

    /**
     * 注册
     * @param admin
     * @return
     */
    public boolean save(Admin admin);
}
